package com.gitee.huanminabc.utils_tools.security.param;

import com.baomidou.mybatisplus.annotation.TableField;
import com.gitee.huanminabc.utils_tools.security.enums.SexEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "UserParam",description = "")
public class UserParam implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键")
    private Integer id;
    @ApiModelProperty(value = "用户名")
    private String account;
    @ApiModelProperty(value = "昵称")
    private String nickName;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "账号状态（0正常 1停用）")
    private Integer status;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "手机号")
    private String phoneNumber;
    @ApiModelProperty(value = "用户性别（0男，1女，2未知）")
    private SexEnum sex;
    @ApiModelProperty(value = "头像")
    private String avatar;
    @ApiModelProperty(value = "创建人的用户id, -1(无)")
    private Integer createBy;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新人, -1(无)")
    private Integer updateBy;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "删除标志（0代表未删除，1代表已删除）")
    private Integer delFlag;

    @ApiModelProperty(value = "余额")
    private BigDecimal balance;

    @ApiModelProperty(value = "最高学历: -1未知,0博士,1研究生,2本科,3大专,4高中")
    private Integer education;

    @ApiModelProperty(value = "开始工作时间")
    private Date startWordTIme;

    @ApiModelProperty(value = "出生日期")
    private Date birthdate;

    @ApiModelProperty(value = "所在地区")
    private String location;

    @ApiModelProperty(value = "个人简介")
    private Date desc;

}